const actions = {}
const state = {
  userInfo: null, // 用户信息对象
}
const mutations = {
  // 初始化用户信息
  initUserInfo(state, userInfo) {
    state.userInfo = userInfo
  },
}

export default { namespaced: true, actions, state, mutations }
